package com.example.gzysmartcity.repository.model;

import java.util.List;

public class SCHospital {
    /**
     * status : 200
     * message : SUCCESS
     * data : [{"id":1,"name":"北京协和医院","grade":0,"region":"东城区"},{"id":2,"name":"北京市隆福医院","grade":1,"region":"东城区"},{"id":3,"name":"解放军总医院","grade":2,"region":"海淀区"},{"id":4,"name":"中国医学科学院肿瘤医院","grade":0,"region":"朝阳区"},{"id":5,"name":"首都医科大学附属北京儿童医院","grade":1,"region":"西城区"}]
     */

    private int status;
    private String message;
    /**
     * id : 1
     * name : 北京协和医院
     * grade : 0
     * region : 东城区
     */

    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int id;
        private String name;
        private int grade;
        private String region;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }
    }
}
